//
//  TTCellSwitchModel.m
//  TaoTuo
//
//  Created by admin on 2019/10/16.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTCellSwitchModel.h"

@implementation TTCellSwitchModel

+ (instancetype)setModelWithTitle:(NSString *)title key:(NSString *)key isOpen:(BOOL)isOpen changeBlock:(SwitchStatusChangeBlock)changeBlock
{
    TTCellSwitchModel *model = [self setModelWithTitle:title content:nil];
    model.isOpen = isOpen;
    model.key = key;
    model.changeBlock = changeBlock;
    return model;
}

@end
